@import "@/app/styles";

.Table {
  $this: &;
  border-left: 1px solid rgba(226, 232, 240, 1);
  border-right: 1px solid rgba(226, 232, 240, 1);
  border-top: 1px solid rgba(226, 232, 240, 1);
  border-radius: 0 0 2px 2px;
  border-collapse: separate;
  border-spacing: 0;

  &-Root {
    position: relative;
    margin-bottom: 30px;
  }

  &-Wrapper {
    overflow-x: auto;
  }

  &-Table {
    width: 100%;
  }

  &-NavigationPanel {
    &__top {
      margin-bottom: 30px;
    }
  }

  &-Head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, 1);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 16px;
    font-weight: 600;

    &Count {
      color: $color-primary;
    }
  }

  &-NoData {
    position: relative;

    &_Info {
      display: flex;
      align-items: center;
      padding: 16px;
      background-color: rgba(254, 242, 242, 1);
      color: rgba(153, 27, 27, 1);
    }

    &_Info-Icon {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 24px;
      width: 24px;
      margin-right: 8px;
    }
  }
}
